package com.wanghai.carwashing.core.bean;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 接口调用日志
 * @author 王海
 */
public class APICallLog implements Serializable{
    // 日志ID
    private int id;
    // 访问者IP
    private String ip = "";
    // 提交的参数
    private String params = "";
    // 请求地址
    private String requestUri = "";
    // 请求方法
    private String method = "";
    // 访问时间
    private String createTime = "";
    // 返回状态码
    private int statusCode ;
    // 错误描述
    private String descb = "";
    // 错误代码
    private int errorCode;
    
    private String headers = "";
    
    private String appid = "";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getDescb() {
        return descb;
    }

    public void setDescb(String descb) {
        this.descb = descb;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getHeaders() {
        return headers;
    }

    public void setHeaders(String headers) {
        this.headers = headers;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }
    
    

    @Override
    public String toString() {
       return ToStringBuilder.reflectionToString(this);
    }
    
}
